/**
 * Copyright(c) 2015 Jade Techonologies Co., Ltd.
 *
 * History:
 *   14-8-1 上午10:43 Created by Daisy
 */
package com.jade.framework.mom;

/**
 * 消息发送结果。
 *
 * @author Daisy
 * @version 1.0 14-8-1 上午10:43
 */
public class MomSendResult
{
    private String msgId;
    private String queueId;
    private MomMessage message;
    private SendStatus status;

    public String getMsgId()
    {
        return msgId;
    }

    public void setMsgId(String msgId)
    {
        this.msgId = msgId;
    }

    public String getQueueId()
    {
        return queueId;
    }

    public void setQueueId(String queueId)
    {
        this.queueId = queueId;
    }

    public MomMessage getMessage()
    {
        return message;
    }

    public void setMessage(MomMessage message)
    {
        this.message = message;
    }

    public SendStatus getStatus()
    {
        return status;
    }

    public void setStatus(SendStatus status)
    {
        this.status = status;
    }

    public enum SendStatus
    {
        OK, PARTIAL_OK
    }
}
